Skip to content

feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget#5627

Merged
antonis merged 4 commits intogetsentry:mainfrom
sbs44:feat/feedback-widget-autocorrect-spellcheck
Feb 9, 2026
Merged

feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget#5627
antonis merged 4 commits intogetsentry:mainfrom
sbs44:feat/feedback-widget-autocorrect-spellcheck

Conversation

@sbs44
Copy link
Contributor

@sbs44 sbs44 commented Feb 6, 2026

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Add optional autoCorrect and spellCheck props to FeedbackGeneralConfiguration, forwarded to all TextInput elements in the feedback form. Both default to true (matching React Native defaults) so this is non-breaking.

Also adds autoCapitalize="none" to the email input — email addresses shouldn't be auto-capitalized.

💡 Motivation and Context

Fixes #5626 — feedback forms used for bug reports often contain technical terms, stack traces, and identifiers that trigger aggressive auto-correct behavior. Consumers should be able to opt out.

💚 How did you test it?

  • Test: autoCorrect={false} and spellCheck={false} forwarded to all three TextInputs
  • Test: defaults to true when not specified
  • Test: email input has autoCapitalize="none"
  • All existing tests pass, snapshots updated

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

None.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget by sbs44 in #5627
  • chore(deps): update Android SDK to v8.32.0 by github-actions in #5633
  • chore(deps): bump getsentry/craft from 2.20.1 to 2.21.2 by dependabot in #5630
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.20.1 to 2.21.2 by dependabot in #5632
  • chore(deps): bump github/codeql-action from 4.32.0 to 4.32.2 by dependabot in #5631
  • feat(feedback): Add autoCorrect and spellCheck config to FeedbackWidget by sbs44 in #5627
  • fix(feedback): Deep merge custom styles with defaults in FeedbackWidget by sbs44 in #5625

🤖 This preview updates automatically when you update the PR.

@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 9ba1207 to 23ca722 Compare February 6, 2026 11:43
@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 23ca722 to 9ae2419 Compare February 6, 2026 11:55
@lucas-zimerman
Copy link
Collaborator

Thank you for the contribution! I have a few suggestions on the email/username input, other than that, it's looking good!

@lucas-zimerman lucas-zimerman added the ready-to-merge Triggers the full CI test suite label Feb 6, 2026
@lucas-zimerman
Copy link
Collaborator

@sentry review

- Add optional autoCorrect and spellCheck props to FeedbackGeneralConfiguration
- Pass props through to all three TextInput elements (default: true)
- Add autoCapitalize="none" to email input to prevent iOS capitalization
- Add tests for prop forwarding, defaults, and email autoCapitalize
@sbs44 sbs44 force-pushed the feat/feedback-widget-autocorrect-spellcheck branch from 9ae2419 to c8cfaa3 Compare February 6, 2026 12:20
Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀
Thank you for your contribution @sbs44 🙇

@antonis antonis merged commit d6d38b6 into getsentry:main Feb 9, 2026
60 checks passed
@antonis
Copy link
Contributor

antonis commented Feb 12, 2026

This is now released with 7.13.0 🎉
Thank you for your contribution @sbs44 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-code-assisted ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FeedbackWidget: no way to control autoCorrect/spellCheck on text inputs

3 participants